<!-- Ror03_HandCRUD版本 -->
<%#= form_for @event, :url => { :controller => 'events', :action => 'update', :id => @event } do |f| %>
<!-- Ror04_RESTfulCRUD版本 -->
<%#= form_for @event, :url => event_path(@event), :method => :put do |f| %>
<!-- 上句可再簡化如下 -->
<%= form_for @event do |f| %>
    <%= f.label :name, "Name" %>
    <%= f.text_field :name %>

    <%= f.label :description, "Description" %>
    <%= f.text_area :description %>

    <%= f.submit "Update" %>
<% end %>